#ifndef ___DMERROR_PACKAGE_BIN_H___
#define ___DMERROR_PACKAGE_BIN_H___

static const char* errorcode_xat_filename = "errorcode.xat";

static const unsigned char errorcode_xat_data[440] = {
	0x3C,	0x63,	0x6F,	0x64,	0x65,	0x72,	0x20,	0x6E,	0x61,	0x6D,	
	0x65,	0x3D,	0x22,	0x46,	0x4F,	0x52,	0x4D,	0x41,	0x54,	0x22,	
	0x20,	0x70,	0x61,	0x63,	0x6B,	0x61,	0x67,	0x65,	0x3D,	0x22,	
	0x22,	0x20,	0x76,	0x65,	0x72,	0x73,	0x69,	0x6F,	0x6E,	0x3D,	
	0x22,	0x31,	0x5F,	0x30,	0x22,	0x3E,	0x0A,	0x20,	0x20,	0x20,	
	0x20,	0x3C,	0x65,	0x72,	0x72,	0x6F,	0x72,	0x73,	0x3E,	0x0A,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x3C,	0x65,	
	0x72,	0x72,	0x6F,	0x72,	0x20,	0x6E,	0x61,	0x6D,	0x65,	0x3D,	
	0x22,	0x46,	0x4F,	0x52,	0x4D,	0x41,	0x54,	0x5F,	0x45,	0x52,	
	0x52,	0x5F,	0x4F,	0x4B,	0x22,	0x20,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x69,	0x64,	0x3D,	0x22,	0x30,	
	0x22,	0x20,	0x69,	0x6E,	0x66,	0x6F,	0x3D,	0x22,	0x4F,	0x4B,	
	0x22,	0x20,	0x64,	0x65,	0x73,	0x3D,	0x22,	0xE6,	0x93,	0x8D,	
	0xE4,	0xBD,	0x9C,	0xE6,	0x88,	0x90,	0xE5,	0x8A,	0x9F,	0xE9,	
	0x94,	0x99,	0xE8,	0xAF,	0xAF,	0xE7,	0xA0,	0x81,	0x22,	0x20,	
	0x2F,	0x3E,	0x0A,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x3C,	0x65,	0x72,	0x72,	0x6F,	0x72,	0x20,	0x6E,	0x61,	
	0x6D,	0x65,	0x3D,	0x22,	0x46,	0x4F,	0x52,	0x4D,	0x41,	0x54,	
	0x5F,	0x45,	0x52,	0x52,	0x5F,	0x4E,	0x47,	0x22,	0x20,	0x20,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x69,	0x64,	
	0x3D,	0x22,	0x31,	0x22,	0x20,	0x69,	0x6E,	0x66,	0x6F,	0x3D,	
	0x22,	0x4E,	0x47,	0x22,	0x20,	0x64,	0x65,	0x73,	0x3D,	0x22,	
	0xE5,	0xB8,	0xB8,	0xE8,	0xA7,	0x84,	0xE5,	0xA4,	0xB1,	0xE8,	
	0xB4,	0xA5,	0xE9,	0x94,	0x99,	0xE8,	0xAF,	0xAF,	0xE7,	0xA0,	
	0x81,	0x22,	0x20,	0x2F,	0x3E,	0x0A,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x20,	0x20,	0x20,	0x3C,	0x65,	0x72,	0x72,	0x6F,	0x72,	
	0x20,	0x6E,	0x61,	0x6D,	0x65,	0x3D,	0x22,	0x46,	0x4F,	0x52,	
	0x4D,	0x41,	0x54,	0x5F,	0x45,	0x52,	0x52,	0x5F,	0x4E,	0x45,	
	0x54,	0x5F,	0x43,	0x4F,	0x4E,	0x4E,	0x45,	0x43,	0x54,	0x22,	
	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	0x20,	
	0x20,	0x69,	0x64,	0x3D,	0x22,	0x31,	0x30,	0x30,	0x30,	0x22,	
	0x20,	0x69,	0x6E,	0x66,	0x6F,	0x3D,	0x22,	0x68,	0x6F,	0x73,	
	0x74,	0x3A,	0x7B,	0x30,	0x7D,	0x20,	0x70,	0x6F,	0x72,	0x74,	
	0x3A,	0x7B,	0x31,	0x7D,	0x20,	0x63,	0x6F,	0x6E,	0x6E,	0x65,	
	0x63,	0x74,	0x20,	0x66,	0x61,	0x69,	0x6C,	0x65,	0x64,	0x2E,	
	0x20,	0x22,	0x20,	0x64,	0x65,	0x73,	0x3D,	0x22,	0xE4,	0xB8,	
	0xBB,	0xE6,	0x9C,	0xBA,	0x3A,	0x7B,	0x30,	0x7D,	0x20,	0xE7,	
	0xAB,	0xAF,	0xE5,	0x8F,	0xA3,	0x3A,	0x7B,	0x31,	0x7D,	0x20,	
	0xE8,	0xBF,	0x9E,	0xE6,	0x8E,	0xA5,	0xE5,	0xA4,	0xB1,	0xE8,	
	0xB4,	0xA5,	0x22,	0x20,	0x2F,	0x3E,	0x0A,	0x20,	0x20,	0x20,	
	0x20,	0x3C,	0x2F,	0x65,	0x72,	0x72,	0x6F,	0x72,	0x73,	0x3E,	
	0x0A,	0x3C,	0x2F,	0x63,	0x6F,	0x64,	0x65,	0x72,	0x3E,	0x0A
};

enum ETPLTYPE_DMERROR {
	ETPLTYPE_DMERROR__BEGIN = 0,
	ETPLTYPE_ERRORCODE_XAT = 0,
	ETPLTYPE_DMERROR__END,
};

static const char* DMTPL_DMERROR_GetFileName(int nType) {
	switch (nType) {
		case ETPLTYPE_ERRORCODE_XAT: {
			return (const char*)(errorcode_xat_filename);
		}
	}
	return "";
}
static const char* DMTPL_DMERROR_GetData(int nType) {
	switch (nType) {
		case ETPLTYPE_ERRORCODE_XAT: {
			return (const char*)(errorcode_xat_data);
		}
	}
	return "";
}
static size_t DMTPL_DMERROR_GetDataSize(int nType) {
	switch (nType) {
		case ETPLTYPE_ERRORCODE_XAT: {
			return sizeof(errorcode_xat_data);
		}
	}
	return 0;
}

#endif //___DMERROR_PACKAGE_BIN_H___
